#ifndef __ORDER_H__
#define __ORDER_H__
#include "sys.h"

typedef enum{
     ORDER_CD, //cd
     ORDER_LS, //ls
     ORDER_PUTS,//puts
     ORDER_GETS,//gets
     ORDER_REMOVE,//remove
     ORDER_PWD,//pwd
     ORDER_MKDIR,//mkdir
     ORDER_RMDIR,//rmdir
     ORDER_SIGNUP,
     ORDER_SIGNIN,
     ORDER_SIGNDEL,
     ORDER_ERROR//error
}TokenType_;

typedef char train_chdata;

typedef struct order_train_s{
    TokenType_ order_len;
    int data_len;
    train_chdata train_data[4096];
}order_train_t;

#endif
